package classloader;

/**
 * @Description: null
 * @Project: testDemo
 * @Author: hjibo
 * @CreateDate: 2019/2/16 09:17
 * @ModificationHistory: （who whatTime doWhat）
 */
public class Test {
    // 静态快
    static {
        System.out.println("类的静态初始化块执行了");
    }
    // 非静态快
    {
        System.out.println("类的初始化块执行了");
    }
    private String a;
    public String getA() {
        return a;
    }
    public void setA(String a) {
        this.a = a;
    }
}
